package cn.juque.datapipeline.bo;

import cn.juque.datapipeline.api.enums.DataOpTypeEnum;
import cn.juque.datapipeline.entity.TaskFieldMappingInfo;
import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * @author nuoka
 * @version 1.0.0
 * <li></li>
 * @date 2022/7/21 14:55
 **/
@Data
public class WriteParamBO {

    private String name;

    private Object connection;

    private String tableName;

    private DataOpTypeEnum opTypeEnum;

    /**
     * 字段间的映射
     */
    private List<TaskFieldMappingInfo> fieldList;

    private List<Map<String, Object>> dataList;
}
